Einhugur macOS Bridge plugin.

NSWorkspace.MenuBarOwningApplication Method

Returns the app that owns the currently displayed menu bar.

shared MenuBarOwningApplication() as EinhugurMacOSBridge.NSRunningApplication

Parameters

Returns

EinhugurMacOSBridge.NSRunningApplication

Remarks

This function returns the running app instance for the app that owns the displayed menu bar.

See Also

NSWorkspace Class